package DBLayer;
import DomainLayer.*;

import java.util.ArrayList;
public interface IFDBJournal {
	
	public int createJournal(Journal journal) throws Exception;
	public int deleteJournal(Journal journal);
	public int updateJournal(Journal journal);
	public Journal findJournal(String name, String contactCouses, boolean retrieveAssociation);
	public ArrayList<Journal> getAllJournals(boolean retrieveAssociation);
	public ArrayList<Journal> getJournals (String theme, String modul,boolean retrieveAssociation);
	public int assignToBed(Journal journal, int roomNo, int bedNo,String date);
	public ArrayList<String> findAllThemes(String moduleName, boolean retrieveAssociation);
	
	
	
	//Student Gui
	
	
	public Journal findJournalAccordingBed(int bed_No, int room_No, String date);

}
